// #ifndef VUE3
import Vue from 'vue'
import App from './App'
// 假设您项目中已使用VueX



Vue.config.productionTip = false

uni.$showMsg = function ( title = '数据加载失败！', duration = 1500 ) {
  uni.showToast( {
    title,
    duration,
    icon: 'none',
  } )
}

App.mpType = 'app'
import uView from "uview-ui";
Vue.use( uView );

const app = new Vue( {
  ...App
} )

app.$mount()
// #endif